import request from '@/utils/request';

export function manyAssess(data) {
  return request({
    url: '/workstudy/assess/manyAssess',
    method: 'post',
    data: data
  })
}


export function doAssess(data) {
  return request({
    url: '/workstudy/assess/doAssess',
    method: 'post',
    data: data
  })
}

export function listZdls(query) {
  return request({
    url: '/workstudy/assess/listZdls',
    method: 'get',
    params: query
  })
}


// 查询勤工助学月度考核列表
export function listAssess(query) {
  return request({
    url: '/workstudy/assess/list',
    method: 'get',
    params: query
  })
}

// 查询勤工助学月度考核详细
export function getAssess(id) {
  return request({
    url: '/workstudy/assess/' + id,
    method: 'get'
  })
}

// 新增勤工助学月度考核
export function addAssess(data) {
  return request({
    url: '/workstudy/assess/add',
    method: 'post',
    data: data
  })
}

// 修改勤工助学月度考核
export function updateAssess(data) {
  return request({
    url: '/workstudy/assess/update',
    method: 'post',
    data: data
  })
}

// 删除勤工助学月度考核
export function delAssess(id) {
  return request({
    url: '/workstudy/assess/' + id,
    method: 'post'
  })
}
